package com.educate.member.rpc.provide.service;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class ExampleServiceImpl implements InitializingBean {

    @Value("${dataUrl:DefaultValue}")
    String custom;

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("------------afterPropertiesSet------------------" + custom);
    }


}
